<?php
$messages = Zend_Controller_Action_HelperBroker::getStaticHelper ( 'FlashMessenger' )->getMessages();
$str  = '';
foreach ($messages as $v) {
    $str .= $v . '<br>';
}
if($str !== '') {
?>
Сообщение системы: <br>
<?php 
echo $str;
}
?>